package com.cyj.spring.springframeword.beans.factory.config;

/**
 * @Description: bean单例注册表
 * @BelongsProject: small-spring
 * @BelongsPackage: com.cyj.spring.springframeword.beans.factory.config
 * @Author: ChenYongJia
 * @CreateTime: 2021-07-26 14:33
 * @Email: chen87647213@163.com
 * @Version: 1.0
 */
public interface SingletonBeanRegistry {

    /**
     * 获取单例
     *
     * @param beanName bean容器名
     * @return java.lang.Object
     * @date 2021/7/26 14:34
     * @author ChenYongJia
     * @version 1.0
     */
    Object getSingleton(String beanName);

}
